<?php

/**
 * home actions.
 *
 * @package    sistema_itec_new
 * @subpackage home
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class homeActions extends sfActions {

    /**
     * Executes index action
     *
     * @param sfRequest $request A request object
     */
    public function executeIndex(sfWebRequest $request) {
        error_reporting(0);
        $svn = new phpsvnclient('http://sistema-itec.googlecode.com/svn/');
        $version = (int)$svn->getVersion();
        $this->logs = $svn->getRepositoryLogs('/', $version - 15, $version);
    }

    public function executeLogin(sfWebRequest $request) {
        $this->form = new sfGuardFormSignin();
    }

}
